package com.letoken.platform.repo.app.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @version 1.0
 * @author： Christopher
 * @date： 2022/1/8 16:33
 */
@Data
@ApiModel(value = "用户登录请求对象", description = "用户登录请求对象")
public class AppUserLoginReq extends AppUserLogin {


    @ApiModelProperty(name = "walletAddress", value = "钱包地址（不能为空）", required = true, example = "asdkas124dkla123124djasalsdkaskdasdas")
    @NotBlank(message = "80201001")
    private String walletAddress;


    @ApiModelProperty(name = "sign", value = "签名", required = true, example = "asdkas124dkla123124djasalsdkaskdasdas")
    @NotBlank(message = "80201006")
    private String sign;

    @ApiModelProperty(name = "blockchain", value = "所属公链", required = true, example = "ETH,SOLANA")
    @NotBlank(message = "80201009")
    private String blockchain;


    @ApiModelProperty(name = "message", value = "签名内容（必填）", required = true, example = "xxx")
    @NotBlank(message = "80201003")
    private String message;

//    @ApiModelProperty(name = "deviceToken", value = "设备token，消息通知需要", required = true, example = "")
//    private String deviceToken;


}
